package com.community.community.pojo.dto;

import jakarta.validation.constraints.Email;
import jakarta.validation.constraints.Size;
import lombok.Data;

@Data
public class UserDto {

    @Size(min = 6,max = 12)
    private String userName;
    @Size(min = 6)
    private String password;

    private String petName;

    private String headImage;

    private String email;

    private String oldPassword;

}
